package com.umpay.utils;

import java.util.UUID;

public class RpidUtils{

	/**
	 * 获取通信流水rpid
	 * @return
	 */
	public static String getRpid(){
		int length = 16;
		String strhostid = "BSP";
		length = length - 6 - strhostid.length();
		String uuid = UUID.randomUUID().toString().substring(0,length);
		return String.format("%s%s%s",strhostid,TimeUtil.time6(),uuid);
		
	}
}



